package com.tepth.shadow.ui.recycler;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;

/**
 * @author zhangyu
 * @date 2017/10/31
 */

public class ObjConverter<T> {

    public T convert(String jsonData, TypeReference<T> type) {
            return JSON.parseObject(jsonData, type);
    }

}
